//
//  SecondVC.m
//  代理模式
//
//  Created by YuanJiang on 2019/9/5.
//  Copyright © 2019 llbt. All rights reserved.
//

#import "SecondVC.h"

@interface SecondVC ()

@end

@implementation SecondVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor whiteColor];
    
}

-(void)viewWillDisappear:(BOOL)animated
{
    if (self.delegate && [self.delegate respondsToSelector:@selector(printCurrentVCStr:)]) {
        [self.delegate printCurrentVCStr:NSStringFromClass([self class])];
    }
}



@end
